import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {ModalModule} from 'ngx-bootstrap/modal';
import {PaginationModule} from 'ngx-bootstrap';

// 组件

// routing
import {ActivityListComponent} from './activity-list/activity-list.component';
import {ActivityViewComponent} from './activity-view/activity-view.component';
import {ActivityRoutingModule} from './activity-routing.module'
import {ActivityService} from './activity.service'
import {AddressSelectionModule} from '../../shared/address-selection/address-selection.module';
import {CropperModule} from '../../shared/cropper/cropper.module';

@NgModule({
    imports: [
        CommonModule,
        ActivityRoutingModule,
        ModalModule.forRoot(),
        PaginationModule,
        FormsModule,
        AddressSelectionModule,
        CropperModule
    ],
    providers: [ActivityService],
    declarations: [ActivityListComponent, ActivityViewComponent]
})
export class ActivityModule {
}
